;---------------------------------------------------------------------------
;Intro Message
[Statedef 850]
type = A
physics = N
anim = 1
ctrl = 0

[State 850, 1]
type = Explod
trigger1 = !Time
anim = 850
ID = 850
pos = 0,0
postype = left
facing = 1
vfacing = 1
bindtime = -1
removetime = -1
pausemovetime = 999
scale = 1,1
sprpriority = -2
ontop = 0
removeongethit = 0

[State 850, 2]
type = ChangeState
trigger1 = Time = 1
value = 851
;---------------------------------------------------------------------------
;Intro Message
[Statedef 851]
type = A
physics = N
anim = 1
ctrl = 0
sprpriority = 1

[State 851, ChangeState]
type = ChangeState
trigger1 = (root,StateNo = 0 || root,StateNo = 1) && P2StateNo = 0
value = 852
;---------------------------------------------------------------------------
;Intro Message (Close)
[Statedef 852]
type = A
physics = N
anim = 1
ctrl = 0
sprpriority = 1

[State 852, 1]
type = RemoveExplod
trigger1 = (root,StateNo = 0 || root,StateNo = 1) && P2StateNo = 0
id = 850

[State 850, 2]
type = Explod
trigger1 = (root,StateNo = 0 || root,StateNo = 1) && P2StateNo = 0
anim = F850 
ID = 852
pos = 0,0
postype = back 
facing = 1
vfacing = 1
bindtime = -1
removetime = 60
pausemovetime = 999
scale = 1,1
sprpriority = -2
ontop = 0
removeongethit = 0

[State 852, 3]
type = DestroySelf
trigger1 = RoundState = 2
;---------------------------------------------------------------------------
;Helper Menu
[Statedef 853]
type = A
physics = N
anim = 1
ctrl = 0

[State 850, 1]
type = Explod
trigger1 = Time = 0
anim = F850 
ID = 850
pos = 0,0
postype = back 
facing = 1
vfacing = 1
bindtime = -1
removetime = -1
pausemovetime = 999
scale = 1,1
sprpriority = -2
ontop = 0
removeongethit = 0

[State 850, 2]
type = Explod
trigger1 = !Time
anim = F856 
ID = 851
pos = 8+144*(Facing = -1),7
postype = back 
facing = ifelse(Facing = -1, -1,1)
vfacing = 1
bindtime = -1
removetime = -1
pausemovetime = 999
scale = 1,1
sprpriority = -1
ontop = 0
removeongethit = 0

[State 850, 3]
type = Explod
trigger1 = !Time
anim = F852 
ID = 857
pos = 24,15
postype = back 
facing = 1
vfacing = 1
bindtime = -1
removetime = -1
pausemovetime = 999
scale = 1,1
sprpriority = -1
ontop = 0
removeongethit = 0

[State 850, 4]
type = Explod
trigger1 = !Time
anim = F852
ID = 858
pos = 64,15
postype = back 
facing = 1
vfacing = 1
bindtime = -1
removetime = -1
pausemovetime = 999
scale = 1,1
sprpriority = -1
ontop = 0
removeongethit = 0

[State 850, 5]
type = Explod
trigger1 = !Time
anim = F852 
ID = 859
pos = 104,15
postype = back  
facing = 1
vfacing = 1
bindtime = -1
removetime = -1
pausemovetime = 999
scale = 1,1
sprpriority = -1
ontop = 0
removeongethit = 0

[State 850, 6]
type = ChangeState
trigger1 = Time = 1
value = 854
;---------------------------------------------------------------------------
;Helper Menu (Icons)
[Statedef 854]
type = A
physics = N
anim = 1
ctrl = 0
sprpriority = 1

[State 851, 1]
type = Explod
trigger1 = !NumExplod(7090)
anim = F859
ID = 7090
pos = 25,16
postype = back
facing = 1
vfacing = 1
bindtime = -1
removetime = -1
pausemovetime = 999
scale = 1,1
sprpriority = 1
ontop = 0
removeongethit = 0

[State 851, 1]
type = Explod
trigger1 = !NumExplod(7190)
anim = F859
ID = 7190
pos = 65,16
postype = back
facing = 1
vfacing = 1
bindtime = -1
removetime = -1
pausemovetime = 999
scale = 1,1
sprpriority = 1
ontop = 0
removeongethit = 0

[State 851, 1]
type = Explod
trigger1 = !NumExplod(7290)
anim = F859
ID = 7290
pos = 105,16
postype = back
facing = 1
vfacing = 1
bindtime = -1
removetime = -1
pausemovetime = 999
scale = 1,1
sprpriority = 1
ontop = 0
removeongethit = 0

[State 851, 1]
type = Explod
trigger1 = root,Var(32) = 180
anim = F857
ID = 857
pos = 153,24
postype = left
facing = 1
vfacing = 1
bindtime = -1
removetime = -2
pausemovetime = 999
scale = 1,1
sprpriority = 1
ontop = 0
removeongethit = 0

[State 851, 1]
type = Explod
trigger1 = root,Var(32) = 180
anim = F858
ID = 858
pos = 161,24
postype = left
facing = 1
vfacing = 1
bindtime = -1
removetime = -2
pausemovetime = 999
scale = 1,1
sprpriority = 1
ontop = 0
removeongethit = 0

[State 0, PlaySnd]
type = PlaySnd
trigger1 = root,Var(32) % 60 = 0 && root,Var(32) != 0
value = F850,0

[State 0, PlaySnd]
type = PlaySnd
trigger1 = root,Var(32) = 0
value = F799,0
persistent = 0

[State 851, ChangeState]
type = ChangeState
trigger1 = root,Var(32) = 0 
value = 855
;---------------------------------------------------------------------------
;Helper Menu (Close)
[Statedef 855]
type = A
physics = N
anim = 1
ctrl = 0
sprpriority = 1

[State 852, 1]
type = RemoveExplod
trigger1 = root,StateNo = 0 && P2StateNo = 0
id = 851

[State 852, 1]
type = RemoveExplod
trigger1 = root,StateNo = 0 && P2StateNo = 0
id = 857

[State 852, 1]
type = RemoveExplod
trigger1 = root,StateNo = 0 && P2StateNo = 0
id = 858

[State 852, 1]
type = RemoveExplod
trigger1 = root,StateNo = 0 && P2StateNo = 0
id = 859

[State 852, 1]
type = RemoveExplod
trigger1 = root,StateNo = 0 && P2StateNo = 0
id = 7090

[State 852, 1]
type = RemoveExplod
trigger1 = root,StateNo = 0 && P2StateNo = 0
id = 7190

[State 852, 1]
type = RemoveExplod
trigger1 = root,StateNo = 0 && P2StateNo = 0
id = 7290

[State 852, 1]
type = RemoveExplod
trigger1 = RoundState = 2
id = 850

[State 850, 1]
type = Explod
trigger1 = root,StateNo = 0 && P2StateNo = 0
anim = F850 
ID = 852
pos = 0,0
postype = back 
facing = 1
vfacing = 1
bindtime = -1
removetime = 60
pausemovetime = 999
scale = 1,1
sprpriority = -2
ontop = 0
removeongethit = 0

[State 852, 3]
type = DestroySelf
trigger1 = RoundState = 2
;---------------------------------------------------------------------------
;HUD
[Statedef 870]
type = A
physics = N
anim = 1
ctrl = 0

[State 870, 1]
type = ChangeState
trigger1 = Time = 60
value = 871
;---------------------------------------------------------------------------
;HUD
[Statedef 871]
type = A
physics = N
anim = 1
ctrl = 0
sprpriority = 1

[State 850, 1]
type = RemoveExplod
trigger1 = Time >= 1
id = 871

[State 850, 2]
type = RemoveExplod
trigger1 = Time >= 1
id = 872

[State 850, 3]
type = Explod
trigger1 = !Time
anim = 851
ID = 870
pos = 0,0
postype = right
facing = 1
vfacing = 1
bindtime = -1
removetime = -1
pausemovetime = 999
scale = 1,1
sprpriority = -10
ontop = 0
removeongethit = 0

[State 850, 4]
type = Explod
trigger1 = Time
anim = 860+((root,var(3)) / 100) 
ID = 871
pos = -111,24
postype = right
facing = 1
vfacing = 1
bindtime = -1
removetime = -1
pausemovetime = 999
scale = 1,1
sprpriority = -9
ontop = 0
removeongethit = 0

[State 850, 5]
type = Explod
trigger1 = Time
anim = 860+(((root,var(3)) / 10) % 10)
ID = 871
pos = -103,24
postype = right
facing = 1
vfacing = 1
bindtime = -1
removetime = -1
pausemovetime = 999
scale = 1,1
sprpriority = -9
ontop = 0
removeongethit = 0

[State 850, 6]
type = Explod
trigger1 = Time
anim = 860+(((root,var(3)) % 10))
ID = 871
pos = -95,24
postype = right
facing = 1
vfacing = 1
bindtime = -1
removetime = -1
pausemovetime = 999
scale = 1,1
sprpriority = -9
ontop = 0
removeongethit = 0

[State 850, 7]
type = Explod
trigger1 = Time
anim = 860+(((root,var(4)) / 10) % 10) 
ID = 872
pos = -47,24
postype = right
facing = 1
vfacing = 1
bindtime = -1
removetime = -1
pausemovetime = 999
scale = 1,1
sprpriority = -9
ontop = 0
removeongethit = 0

[State 850, 8]
type = Explod
trigger1 = Time
anim = 860+(((root,var(4)) % 10))
ID = 872
pos = -39,24
postype = right
facing = 1
vfacing = 1
bindtime = -1
removetime = -1
pausemovetime = 999
scale = 1,1
sprpriority = -9
ontop = 0
removeongethit = 0

